let roles = {
  mobile: [
    {
      path: "/mobile",
      name: "mobile",
      meta: "移动端组件",
      redirect: "",
      component: "Home/index.vue",
      children: [
        {
          path: "form",
          name: "form",
          meta: "表单",
          redirect: "/mobile/form/formTemplates",
          component: "",
          children: [
            {
              path: "formTemplates",
              name: "formTemplates",
              meta: "表单模板",
              redirect: "",
              component: "Mobile/index.vue",
            },
            {
              path: "checkBox",
              name: "checkBox",
              meta: "复选框",
              redirect: "",
              component: "Mobile/form/checkBox.vue",
            },
            {
              path: "agreement",
              name: "agreement",
              meta: "管理",
              redirect: "",
              component: "Mobile/form/agreement.vue",
            },
            {
              path: "dataRangeDemo",
              name: "dataRangeDemo",
              meta: "日期范围选择",
              redirect: "",
              component: "Mobile/form/dataRangeDemo.vue",
            },
            {
              path: "datePickerDemo",
              name: "datePickerDemo",
              meta: "下拉框选择器",
              redirect: "",
              component: "Mobile/form/datePickerDemo.vue",
            },
            {
              path: "imagesPreview",
              name: "imagesPreview",
              meta: "图片预览",
              redirect: "",
              component: "Mobile/form/imagesPreview.vue",
            },
            {
              path: "imageUpload",
              name: "imageUpload",
              meta: "图片上传",
              redirect: "",
              component: "Mobile/form/imageUpload.vue",
            },
            {
              path: "selectDemo",
              name: "selectDemo",
              meta: "选择器",
              redirect: "",
              component: "Mobile/form/selectDemo.vue",
            },
            {
              path: "detailPage",
              name: "detailPage",
              meta: "详情组件",
              redirect: "",
              component: "Mobile/form/detailPage.vue",
            },
            {
              path: "mapAddress",
              name: "mapAddress",
              meta: "地图定位样式组件",
              redirect: "",
              component: "Mobile/form/mapAddress.vue",
            },
            {
              path: "selectorList",
              name: "selectorList",
              meta: "地图定位样式组件",
              redirect: "",
              component: "Mobile/form/selectorList.vue",
            },{
              path: "textFiles",
              name: "textFiles",
              meta: "文本域组件",
              redirect: "",
              component: "Mobile/form/textFiles.vue",
            },{
              path: "modal",
              name: "modal",
              meta: "弹出框组件",
              redirect: "",
              component: "Mobile/form/modal.vue",
            },
          ],
        },
      ],
    },
  ],
};
export default roles;
